package com.happyscan138.makefun;

import android.os.Bundle;
import android.support.annotation.Nullable;
import android.support.v7.app.AppCompatActivity;
import android.view.View;
import android.widget.ImageButton;


/**
 * Created by Administrator on 2017/1/7.
 */

public class Update extends AppCompatActivity implements View.OnClickListener {
    private ImageButton back;
    @Override
    protected void onCreate(@Nullable Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.update);
        initView();
    }
    public void initView(){
        back=(ImageButton)findViewById(R.id.up_back);
        back.setOnClickListener(this);
    }

    @Override
    public void onClick(View v) {
        switch (v.getId()){
            case R.id.up_back:
                finish();
                break;
        }
    }
}
